Platform Explorer / Nuxeo Platform 2021.7

Contribution org.nuxeo.ecm.platform.routing.dm.layouts.webapp--layouts

This contribution is part of XML component org.nuxeo.ecm.platform.routing.dm.layouts.webapp inside nuxeo-routing-dm-2021.7.jar /OSGI-INF/dm-task-layouts-contrib.xml

Extension Point

Extension point layouts of component WebLayoutManager.

Registration Order

26
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <layout name="task_step">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>actors</widget>
            </row>
            <row>
              <widget>directive_task</widget>
            </row>
            <row>
              <widget>dueDate</widget>
            </row>
            <row>
              <widget>automaticValidation</widget>
            </row>
          </rows>
        </layout>
  • <layout name="follow_lc_transition_task_step">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>actors</widget>
            </row>
            <row>
              <widget>directive_follow_lc_transion_task</widget>
            </row>
            <row>
              <widget>dueDate</widget>
            </row>
          </rows>
        </layout>
  • <layout name="pusblishing_task_step">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>actors</widget>
            </row>
            <row>
              <widget>directive_publishing_task</widget>
            </row>
            <row>
              <widget>dueDate</widget>
            </row>
          </rows>
        </layout>
  • <layout name="conditional_task_step">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>actors</widget>
            </row>
            <row>
              <widget>directive_conditional_subject</widget>
              <widget>directive_conditional_operator</widget>
              <widget>directive_conditional_value</widget>
              <widget>operatorValidator</widget>
            </row>
            <row>
              <widget>dueDate</widget>
            </row>
          </rows>
          <widget name="directive_conditional_subject" type="text">
            <fields>
              <field>ctkst:subject</field>
            </fields>
            <labels>
              <label mode="any">label.review.directive</label>
            </labels>
            <translated>true</translated>
            <properties widgetMode="edit">
              <property name="required">true</property>
              <property name="validator">
                #{routingTaskActions.validateSubject}
              </property>
            </properties>
          </widget>
          <widget name="directive_conditional_operator" type="template">
            <labels>
              <label mode="any"/>
            </labels>
            <fields>
              <field>ctkst:operator</field>
            </fields>
            <properties mode="any">
              <property name="template">
                /widgets/routing_directive_operator_widget_template.xhtml
              </property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
            </properties>
          </widget>
          <widget name="directive_conditional_value" type="text">
            <labels>
              <label mode="any"/>
            </labels>
            <fields>
              <field>ctkst:value</field>
            </fields>
            <properties widgetMode="edit">
              <property name="required">true</property>
            </properties>
          </widget>
          <widget name="operatorValidator" type="template">
            <fields>
              <field/>
            </fields>
            <labels>
              <label mode="any"/>
            </labels>
            <properties widgetMode="edit">
              <property name="validator">
                #{routingTaskActions.validateValueForOperator}
              </property>
              <property name="template">
                /widgets/operator_value_validation_widget_template.xhtml
              </property>
            </properties>
          </widget>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <layout name="task_step">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>actors</widget>
        </row>
        <row>
          <widget>directive_task</widget>
        </row>
        <row>
          <widget>dueDate</widget>
        </row>
        <row>
          <widget>automaticValidation</widget>
        </row>
      </rows>
    </layout>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <layout name="follow_lc_transition_task_step">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>actors</widget>
        </row>
        <row>
          <widget>directive_follow_lc_transion_task</widget>
        </row>
        <row>
          <widget>dueDate</widget>
        </row>
      </rows>
    </layout>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <layout name="pusblishing_task_step">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>actors</widget>
        </row>
        <row>
          <widget>directive_publishing_task</widget>
        </row>
        <row>
          <widget>dueDate</widget>
        </row>
      </rows>
    </layout>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <layout name="conditional_task_step">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>actors</widget>
        </row>
        <row>
          <widget>directive_conditional_subject</widget>
          <widget>directive_conditional_operator</widget>
          <widget>directive_conditional_value</widget>
          <widget>operatorValidator</widget>
        </row>
        <row>
          <widget>dueDate</widget>
        </row>
      </rows>
      <widget name="directive_conditional_subject" type="text">
        <fields>
          <field>ctkst:subject</field>
        </fields>
        <labels>
          <label mode="any">label.review.directive</label>
        </labels>
        <translated>true</translated>
        <properties widgetMode="edit">
          <property name="required">true</property>
          <property name="validator">
            #{routingTaskActions.validateSubject}
          </property>
        </properties>
      </widget>
      <widget name="directive_conditional_operator" type="template">
        <labels>
          <label mode="any"/>
        </labels>
        <fields>
          <field>ctkst:operator</field>
        </fields>
        <properties mode="any">
          <property name="template">
            /widgets/routing_directive_operator_widget_template.xhtml
          </property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
        </properties>
      </widget>
      <widget name="directive_conditional_value" type="text">
        <labels>
          <label mode="any"/>
        </labels>
        <fields>
          <field>ctkst:value</field>
        </fields>
        <properties widgetMode="edit">
          <property name="required">true</property>
        </properties>
      </widget>
      <widget name="operatorValidator" type="template">
        <fields>
          <field/>
        </fields>
        <labels>
          <label mode="any"/>
        </labels>
        <properties widgetMode="edit">
          <property name="validator">
            #{routingTaskActions.validateValueForOperator}
          </property>
          <property name="template">
            /widgets/operator_value_validation_widget_template.xhtml
          </property>
        </properties>
      </widget>
    </layout>

  </extension>